Skip to content

feat(curation): places of the day from Panoramax, for Ukraine - #103

Merged
amtiYo merged 1 commit into
devfrom
feat/panoramax-ukraine
Nov 23, 2026
Merged

amtiYo merged 1 commit into
devfrom
feat/panoramax-ukraine

Conversation

@amtiYo

@amtiYo amtiYo commented Nov 23, 2026

Copy link
Copy Markdown
Member

Why

Mapillary serves no picture for any frame in Ukraine (evidence in #45), so the daily pool had no Ukrainian place at all.

What

  • scripts/curation/harvest_px.py: a Panoramax harvester in the batch layout of harvest.py. 360° pictures from 2018 on, with a known direction (view:azimuth), inside pool.allowed(); a plan entry can name the picture a reviewer picked.
  • maply-places: a non-Mapillary candidate keeps the heading the batch carries; Panoramax places link their Panoramax page. The app already credits Panoramax.
  • pool.allowed(): Kharkiv city is in (owner decision); the region around it is not.
  • docs/design.md: the Ukrainian source and how thin Panoramax's 360° coverage is there.

Places added

A scan of Ukraine found one 360° sequence in Kyiv, one picture in Brovary (at night, dropped) and one in Kharkiv. Two places went through screen.py, a review of the sheet and a face check at full resolution, then maply-places with facts in sixteen languages, and are in production as approved daily places (ids 767 Kyiv, 768 Kharkiv). By the queue's order they come up on 2026-12-29 (Kharkiv) and 2027-05-28 (Kyiv).

How verified

go vet and the maply-places tests pass; both images are served from /img/ without EXIF; the rows are in maply.place with heading, city and fact.

Refs #45

Mapillary lists Ukrainian frames in its tiles but serves no picture for
any of them, so a Mapillary harvest can never yield a place in Ukraine
(#45). harvest_px.py harvests from Panoramax instead and writes the same
batch layout, so screen.py, maply-places and faces.py read it unchanged.
It keeps 360° pictures from 2018 on with a known direction, in the parts
of a country pool.allowed() lets in; a plan entry may name the picture a
reviewer picked.

maply-places takes a Panoramax picture's direction from the batch as its
heading, since there is no Mapillary to ask, and links its Panoramax page.

The owner let Kharkiv itself into the Ukrainian zone; the region around
it, which runs to the front and the border, stays out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@amtiYo
amtiYo merged commit efe3222 into dev Nov 23, 2026
8 checks passed
amtiYo added a commit that referenced this pull request Nov 23, 2026
#103 let Kharkiv itself into the zone after #101's test listed it as
left out. The test now plans Kharkiv in and keeps Kupiansk and Chuhuiv,
its region towards the front, out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant